package cn.fintecher.pangolin.service.manage.request;

import cn.fintecher.pangolin.common.enums.BaseSelect;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: xiaqun
 * @Description: 新增联络配置请求
 * @Date: 14:01 2019/9/12
 */

@Data
public class AddContactConfigRequest {
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "父级ID")
    private String parent;

    @ApiModelProperty(value = "名称")
    @NotNull(message = "name.is.required")
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否可扩展")
    private BaseSelect isExtension;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "委托方ID")
    private String principalId;

    @ApiModelProperty(value = "委托方名称")
    private String principalName;

    @ApiModelProperty(value = "是否录入催记")
    private BaseSelect isRecord;

    @ApiModelProperty(value = "是否必输")
    private BaseSelect isNecessary;

    @ApiModelProperty(value = "字数限制")
    private Integer limit;

    @ApiModelProperty(value = "系统映射属性名")
    private String attribute;

    @ApiModelProperty(value = "系统映射属性类型")
    private String propertyType;

    @ApiModelProperty(value = "显示的映射字段")
    private List<String> hideList;
}